home *** CD-ROM | disk | FTP | other *** search
- on m4
- global md1, rantime, mp, s4, e4
- set the cursor of sprite 4 to 4
- set rantime to the ticks
- set mp to 4
- if the castNum of sprite 4 = e4 then
- set the castNum of sprite 4 to s4
- set md1 to the duration of cast s4 - 3
- else
- set md1 to the duration of cast (the castNum of sprite 4 + 1) - 3
- set the castNum of sprite 4 to the castNum of sprite 4 + 1
- end if
- set the cursor of sprite 4 to [234, 235]
- end
-
- on m5
- global md2, rantime, mp, s5, e5
- set the cursor of sprite 5 to 4
- set rantime to the ticks
- set mp to 5
- if the castNum of sprite 5 = e5 then
- set the castNum of sprite 5 to s5
- set md2 to the duration of cast s5 - 3
- else
- set md2 to the duration of cast (the castNum of sprite 5 + 1) - 3
- set the castNum of sprite 5 to the castNum of sprite 5 + 1
- end if
- set the cursor of sprite 5 to [234, 235]
- end
-
- on movOff
- global movpc
- if movpc = 2 then
- set the movieRate of sprite 2 to 0
- set movpc to 0
- exit
- end if
- if movpc = 3 then
- set the movieRate of sprite 2 to 0
- set the movieRate of sprite 13 to 0
- set the movieRate of sprite 18 to 0
- set the movieRate of sprite 21 to 0
- set movpc to 0
- exit
- end if
- if movpc = 4 then
- set the movieRate of sprite 4 to 0
- set movpc to 0
- exit
- end if
- if movpc = 12 then
- set the movieRate of sprite 6 to 0
- set movpc to 0
- exit
- end if
- if movpc = 13 then
- set the movieRate of sprite 7 to 0
- set movpc to 0
- exit
- end if
- if movpc = 5 then
- set the movieRate of sprite 4 to 0
- set the movieRate of sprite 5 to 0
- set movpc to 0
- exit
- end if
- if movpc = 6 then
- set the movieRate of sprite 4 to 0
- set the movieRate of sprite 5 to 0
- set the movieRate of sprite 6 to 0
- set movpc to 0
- exit
- end if
- if movpc = 7 then
- set the movieRate of sprite 4 to 0
- set the movieRate of sprite 5 to 0
- set the movieRate of sprite 6 to 0
- set the movieRate of sprite 7 to 0
- end if
- if movpc = 8 then
- set the movieRate of sprite 4 to 0
- set the movieRate of sprite 5 to 0
- set the movieRate of sprite 6 to 0
- set the movieRate of sprite 7 to 0
- set the movieRate of sprite 8 to 0
- end if
- if movpc = 9 then
- set the movieRate of sprite 4 to 0
- set the movieRate of sprite 5 to 0
- set the movieRate of sprite 6 to 0
- set the movieRate of sprite 7 to 0
- set the movieRate of sprite 8 to 0
- set the movieRate of sprite 9 to 0
- end if
- set movpc to 0
- end
-